package com.neuedu.javase;

public class Main {

    /**
     *   入口函数
     * @param args
     */
    public static void main(String[] args) {
        // write your code here
        //sout TAB

        System.out.println("hello IDEA");

        //

        //变量的声明
        //变量的类型，  标识符 = 初始值
        
        int num = 10;
        
//        num.sout
        System.out.println(num);
//        num.soutv
        System.out.println("num = " + num);

        
        
//        字符类型
        char  c1 = 'a';
        char  c2 = '1';
        char  c3 = '中';
//        char  c4 = '0x0041';
        char  c5 = '\u03A6';  //Unicode 字符编码
        char  c6 = '\r';  //  表示字符
        char  c7 = '\n';  //

        System.out.println("c1 = " + c1);
        System.out.println("c2 = " + c2);
        System.out.println("c3 = " + c3);
        System.out.println("c5 = " + c5);


        System.out.println("c6---"+(c6)+"------");
        System.out.println("c7---"+(c7)+"------");
        System.out.println("c6+c7---"+c6+c7+"------");

        //回车换行  \r\n


        /**
         * boolean
         */

        boolean success = true;
        boolean fail = false;


        /**
         * 整形
         */

        byte num1 = 127;
        short num2 = 2;
        int num3 = 3;
        long num4 = 4;

        /**
         * 浮点型
         * 默认是double
         */


        float num5 = 3.5F;
        double num6 = 3.14D;








    }
}
